import { PerspectiveCamera } from "three";
import { ThreeCamera } from "../three/camera";

export class Perspective {
    private threeCamera = new ThreeCamera();
    private camera = new PerspectiveCamera;

    init(fov?: number, aspect?: number, near?: number, far?: number) {
        this.camera = this.threeCamera.perspective(fov, aspect, near, far);
        // this.camera.rotation.order = 'YXZ';
        // this.camera.position.set(1, 1, 1);
        return this.camera
    }

}